package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ly
 * @Date: 2021/07/14/8:45
 * @Description:
 */
public interface UserService {

    public User findById(Integer id);

    public PageInfo<User> findAll(int page,int size);

    public Integer addUser(User user);

    public Integer deleteUser(Integer id);

    public Integer updateUser(User user);
}
